package wang.aweb.childcar.tcpserver;

import java.util.Map;

public class ActionHandler {
    public String doPingPong(Map jsonMap){

        return "123";
    }
//    public List<Channel> getChannelByName(String name) {
//        AttributeKey<String> key = AttributeKey.valueOf("user");
//        return ChannelHandlerPool.channelGroup.stream().filter(channel -> channel.attr(key).get().equals(name))
//                .collect(Collectors.toList());
//    }

    public String doStartEnd(Map jsonMap) {
        return "456";
    }
    public String doPlay(Map jsonMap){
        return "789";
    }
}
